<?php
$_ENV["SITE_ROOT"]=$_SERVER["DOCUMENT_ROOT"].'/web/';  
include_once $_ENV["SITE_ROOT"]."/config_local.php";
include_once $_ENV["SITE_ROOT"]."/config.php"; 
include_once $_ENV["SITE_ROOT"]."/lib/my/funcs_charset.php"; 

error_reporting(E_ALL);
ini_set('display_errors', 'On');
ini_set('session.auto_start', '1');
//ini_set('upload_tmp_dir', 'c:\tmp');
set_time_limit(0);

    function __autoload($filename) { 
        require_once('./classes/'.strtolower($filename).'_class.php');
    }
    
    $YD = new yandexDirect(2);
?>
